翻訳と辞書
Words near each other
・ Build-A-Bird
・ Build-a-lot
・ Build-out
・ Build.com
・ Buildabazaar
・ Buildbase
・ Buildbot
・ Buildbox
・ BuildDirect
・ Builder
・ Builder (ice hockey)
・ Builder (United States Navy)
・ Builder broker
・ Builder homesite
・ Builder of the House
Builder pattern
・ Builder's Old Measurement
・ Builder's plate
・ Builder's risk insurance
・ Builder's tea
・ Buildering
・ Builders (film)
・ Builders and Managers of Freedom and Development
・ Builders Challenge
・ Builders Exchange Building
・ Builders for the Bay
・ Builders hardware
・ Builders Labourers Federation
・ Builders of the Adytum
・ Builders of the Future


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Builder pattern : ウィキペディア英語版
Builder pattern
The builder pattern is an object creation software design pattern. Unlike the abstract factory pattern and the factory method pattern whose intention is to enable polymorphism, the intention of the builder pattern is to find a solution to the telescoping constructor anti-pattern. The telescoping constructor anti-pattern occurs when the increase of object constructor parameter combination leads to an exponential list of constructors. Instead of using numerous constructors, the builder pattern uses another object, a builder, that receives each initialization parameter step by step and then returns the resulting constructed object at once.
The builder pattern has another benefit. It can be used for objects that contain flat data (html code, SQL query, X.509 certificate...), that is to say, data that can't be easily edited. This type of data cannot be edited step by step and must be edited at once. The best way to construct such an object is to use a builder class.
Builder often builds a Composite. Often, designs start out using Factory Method (less complicated, more customizable, subclasses proliferate) and evolve toward Abstract Factory, Prototype, or Builder (more flexible, more complex) as the designer discovers where more flexibility is needed. Sometimes creational patterns are complementary: Builder can use one of the other patterns to implement which components are built. Builders are good candidates for a fluent interface.
==Definition==
The intent of the Builder design pattern is to separate the construction of a complex object from its representation. By doing so the same construction process can create different representations.
Gang Of Four

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Builder pattern」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.